home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.1 / Examples1 / PCMCIA / Tools / Flash.doc < prev    next >
Encoding:
Text File  |  1993-01-08  |  4.9 KB  |  142 lines

  1. Flash 1.4
  2.  
  3. Using the 'flash' utility:
  4.  
  5. FLASH is a tool for copying disk-like media to PCMCIA FlashROM cards.
  6.  
  7. Currently only the Intel FlashROM programming algorithim is supported.
  8. In the future, algorithims for EEPROM, and Epson FlashROM may be
  9. supported.  The Flash tool verifies that the FlashROM card you
  10. insert returns the Intel identifier byte before it erases, or writes
  11. to the card.
  12.  
  13. To create a readable disk, it makes the most sense to let a filesystem
  14. figure out the proper disk structure for files, so FLASH does not
  15. try to do this.   Rather, you can copy your files to a formatted
  16. floppy disk, disk-like card, or ramdrive (RAD:) of a size which
  17. will fit on your flashrom card.
  18.  
  19. Warning: When you use Flash to put a disk image on a FlashROM card,
  20. an exact duplicate disk is created.  Do not access the original disk
  21. or the new FlashROM duplicate via DOS while both are mounted - it
  22. will confuse DOS and cause problems.
  23.  
  24.  
  25. To duplicate one of these, do the following:
  26.  
  27.  
  28. 1.) Select SOURCE (trackdisk unit 0, carddisk unit 0, or ramdrive unit 0).
  29.  
  30. trackdisk unit 0 -
  31.  
  32. Refers to the built-in floppy drive.
  33.  
  34.     Advantages: No need for lots of card swapping.
  35.  
  36.     Disadvantages: Relatively slow (but not intolerable), and limited
  37.     size (880K for standard density Amiga floppies).  Will not
  38.     duplicate MS-DOS disks (requires a future option for mfm.device).
  39.  
  40.  
  41. carddisk unit 0 -
  42.  
  43. Refers to use of the PCMCIA card slot, and a disk-like formatted card.
  44.  
  45.     Advantages: Allows for quick proto-typing on an SRAM card
  46.     up to the maximum of 4 megabytes.  Can read MS-DOS like
  47.     cards.
  48.  
  49.     Disadvantages: Painful because card swapping is required.
  50.     The SRAM card must have a battery backup so it can be removed
  51.     while the FlashROM card is being programmed.
  52.  
  53.  
  54. ramdrive unit 0 -
  55.  
  56. Refers to use of ramdrive.device (RAD:).
  57.  
  58.     Advantages: Allows for quick duplication, and modifications
  59.     of RAD: contents.  No card swapping required.
  60.  
  61.     Disadvantages: Requires the system have sufficient RAM to
  62.     create a ramdrive disk as large as the FlashROM.  See
  63.     special note below regarding the 'Install' option.
  64.  
  65.  
  66.  
  67. Binary File -
  68.  
  69. This will copy a binary file to FlashROM, but also requires that
  70. the binary file already contain an appropriate Card Information Structure.
  71. Such a file may be created, for example, by doing a binary save of
  72. the memory contents of an overlapped-type PCMCIA RAM card.
  73.  
  74. If Flash recognizes the RAM card information which is created by
  75. the AmigaXIP loader tool "loadc", it will convert the device tuple
  76. to a flashrom tuple before flashing.
  77.  
  78.  
  79. When copying from disklike media, the Flash tool will create an
  80. appropriate disk-like Card Information Structure for you (based
  81. on disk geometry, or in the case of the ramdrive, from the mountlist
  82. entry).
  83.  
  84.  
  85. 2.) Select FlashROM speed.  250ns is the recommended default.  Consult
  86. FlashROM documentation before selecting faster speeds.
  87.  
  88. 3.) Select FlashROM total size.  There is a maximum of 4 megabytes,
  89. which is all the A600 can support.
  90.  
  91. 4.) Select FlashROM zone size.  Consult FlashROM documentation for this
  92. information.  Simply put, zone size is the number of bytes which will
  93. 'potentially' be erased when the ERASE command is sent.  In actual
  94. use, the ERASE command may be sent many times until the entire zone
  95. is completely erased.
  96.  
  97.  
  98. 5.) Select type of card.  Currently only Intel FlashROM is supported.
  99. In the future, EEPROM, and other flash rom types may be supported.
  100.  
  101.  
  102. 6.) There is generally no reason to turn off the "Erase Enable" option.
  103. Doing so is only useful if you want to be warned that a FlashROM is
  104. not already blank during the duplication process.  However you
  105. may still use the "Full Erase" option to completely erase the card.
  106.  
  107. 7.) Enable "Full Verify" for second pass verification.  While not
  108. generally needed (since each byte is verified during writes),
  109. the second pass is useful if you want the extra sense of security.
  110.  
  111. 8.) The "Install" option is only available when duplicating from
  112. the ramdrive.  This is required because it is not possible to
  113. use the "C:Install" program to make the ramdrive bootable (the
  114. ramdrive uses bootpoint booting, not bootblock booting like
  115. floppies, and disk-like cards).  When enabled, a 2.0 style bootblock
  116. is written to the first 2 disk blocks of the card.  The 3 byte
  117. DOS type identifier is left unchanged.
  118.  
  119. 9.) Select an action:
  120.  
  121.     Check Blank - checks every zone of the card to see if it
  122.     is blank (every byte is $FF).
  123.  
  124.     Full Erase - Erases every zone of the card.  For Intel
  125.     FlashROM, this includes writing 0's to the card, followed
  126.     by erase.
  127.  
  128.     Program - Checks each zone of the card for blank state,
  129.     erases the zone if it is not blank (unless you've
  130.     disabled this feature), and prompts you as needed for
  131.     the source, and destination media.
  132.  
  133. 10.) The "Abort" gadget is enabled during any destructive operations,
  134. such as Erase and Write operations.  It is currently not enabled during
  135. read, and verify operations.  Aborting brings up a requester verifying
  136. that you really want to abort.
  137.  
  138. 11.) To quit, click on the window close gadget.
  139.  
  140.  
  141.  
  142.